import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LoginController } from './login.controller';
import { LoginService } from './login.service';
import { User, UserWhitelist, UserDevice } from './entities/login.entity';
import { TDevice } from '../t_device/entities/t-device.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([User, UserWhitelist, UserDevice, TDevice]),
  ],
  controllers: [LoginController],
  providers: [LoginService],
  exports: [LoginService],
})
export class LoginModule {} 